home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d27 / c_ln150a.arc / C-LN.DOC next >
Text File  |  1990-08-02  |  12KB  |  532 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                               C-LN
  16.  
  17.                  The Amazing Line Centering TSR
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.              Created by Programmers for Programmers
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.            Program and Documentation Copyright 1990 by
  48.               Information Management Systems, Inc.
  49.                42 North University Avenue, Suite 6
  50.                        Provo, Utah  84601
  51.                          (801) 374-9358
  52.  
  53.  
  54.  
  55.                     C-LN 1.50  ·  Users Manual
  56.  
  57.  
  58.  
  59. LICENSE
  60.  
  61. This software is copyrighted and exclusively published by
  62. Information Management Systems, Inc.  C-LN is distributed under the
  63. Shareware concept to give users the opportunity to try software and
  64. determine its suitability before spending their money on the
  65. product.
  66.  
  67. Information Management Systems, Inc. hereby grants you a limited
  68. license to use this software on an evaluation basis only.  If, at
  69. the end of a reasonable evaluation period (we suggest 30 days), you
  70. decide that C-LN does not suit your needs, simply erase all the
  71. files associated with it, including the executable program and this
  72. documentation.  If you decide that C-LN does suit your needs,
  73. please remit $15.00 (in U.S. funds) to Information Management
  74. Systems, Inc., 42 North University Avenue, Suite 6, Provo, Utah 
  75. 84601.  Upon receipt of this registration fee, Information
  76. Management Systems, Inc. will mail you the newest version of C-LN,
  77. provide you with free telephone support, and notify you of major
  78. upgrades and new products.
  79.  
  80. You are hereby granted additional license to copy and distribute C-
  81. LN, as long as all the original, unmodified files are distributed
  82. together.  No fee may be charged for the distribution of C-LN
  83. except reasonable copying and shipping costs of $7.00 or less,
  84. except by express written permission of Information Management
  85. Systems, Inc.
  86.  
  87.  
  88. WARRANTY
  89.  
  90. Information Management Systems, Inc. hereby disclaims all
  91. warranties, expressed or implied.  This software and documentation
  92. are supplied "as is" without warranty as to their merchantability
  93. and/or fitness for a particular purpose.  In no event shall
  94. Information Management Systems, Inc. or its suppliers be held
  95. liable for any loss of profit, or any other commercial damage,
  96. including but not limited to special, incidental, and consequential
  97. damages.  This statement shall be construed, interpreted, and
  98. governed by the laws of the state of Utah.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.                                  i
  112.  
  113.  
  114.                     C-LN 1.50  ·  Users Manual
  115.  
  116.  
  117.  
  118. TABLE OF CONTENTS
  119.  
  120.      License Agreement. . . . . . . . . . . . . . . . . . . . . i
  121.      Warranty . . . . . . . . . . . . . . . . . . . . . . . . . i
  122.  
  123.      Purpose of the Software. . . . . . . . . . . . . . . . . . 1
  124.      Installation . . . . . . . . . . . . . . . . . . . . . . . 2
  125.      Using C-LN . . . . . . . . . . . . . . . . . . . . . . . . 3
  126.      The Benefits of Registration . . . . . . . . . . . . . . . 5
  127.      How to Get Help. . . . . . . . . . . . . . . . . . . . . . 6
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.                                 ii
  172.  
  173.  
  174.                     C-LN 1.50  ·  Users Manual
  175.  
  176.  
  177.  
  178. PURPOSE OF THE SOFTWARE
  179.  
  180. As we write programs, we often find ourselves designing or
  181. modifying screen layouts as we program.  It is very tiresome,
  182. however, to count the number of characters in a string and center
  183. it in a field or on the screen.
  184.  
  185. To solve or problem, we developed C-LN, a Terminate-and-Stay-
  186. Resident (TSR) utility.  C-LN stands for Center-Line because the
  187. program accepts a string of alpha-numeric characters and the field
  188. length and calculates the number of spaces to place at the
  189. beginning of the string to center it in the given field.  After
  190. loading C-LN into memory, line-centering help is simply a hot key
  191. away!
  192.  
  193. C-LN occupies approximately 40K of RAM, so load it in before you
  194. start programming, and you'll never have to count characters again!
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.                                  1
  232.  
  233.  
  234.                     C-LN 1.50  ·  Users Manual
  235.  
  236.  
  237.  
  238. INSTALLATION
  239.  
  240. If your computer has a hard drive, we recommend you put C-LN in an
  241. existing directory, perhaps a utilities directory.  If you don't
  242. have a suitable directory, use the DOS commands to make one and
  243. then log onto that directory.  (If you are unfamiliar with
  244. manipulating directories in DOS, consult your DOS manual under
  245. MKDIR and CHDIR.)  Then, place the C-LN distribution disk in the A:
  246. drive and type
  247.  
  248.           copy A:C-LN.*
  249.  
  250. and press return.  DOS will then copy all the C-LN files to the
  251. current directory on your current drive.
  252.  
  253. If your computer has two floppy drives, place a formatted diskette
  254. in drive B: and the distribution disk in drive A: and type
  255.  
  256.           copy A:C-LN.* B:
  257.  
  258. and press return.  The C-LN files will then be copied onto the
  259. diskette in drive B:.
  260.  
  261. If your computer has one floppy drive, get a blank disk.  Use DOS'
  262. DISKCOPY command to make a copy of the distribution diskette.  With
  263. the DISKCOPY program on a disk in drive A:, type
  264.  
  265.           diskcopy A: A:
  266.  
  267. and press return.  When prompted for the source disk, place the
  268. distribution diskette in drive A:.  When prompted for the target
  269. disk, place the blank diskette in drive A:.  The C-LN files will
  270. all be copied onto the second diskette. 
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.                                  2
  292.  
  293.  
  294.                     C-LN 1.50  ·  Users Manual
  295.  
  296.  
  297.  
  298. USING C-LN
  299.  
  300. Before C-LN can be used, it must be loaded into your computer's
  301. memory.  To do this, log onto the drive that has C-LN.EXE on it and
  302. change to the appropriate subdirectory.  (Alternately, if C-LN.EXE
  303. is in a directory along your DOS PATH, you can execute it from any
  304. directory or drive on your system.  See your DOS manual under PATH
  305. for more details.)  At the DOS prompt, type
  306.  
  307.           C-LN
  308.  
  309. and press the Enter key.  C-LN automatically detects your video
  310. mode and uses appropriate screen attributes.
  311.  
  312. After the program has been loaded into memory, a message will be
  313. displayed on the screen identifying the program, version number,
  314. the address of Information Management Systems, Inc., the
  315. registration fee ($15.00), and a reminder of the hot key that
  316. brings up the program.
  317.  
  318. After C-LN has been loaded into memory, it may be accessed at any
  319. time by pressing the D key while holding down the Alt and Left
  320. Shift keys.  This key combination should be unusual enough not to
  321. interfere with your application programs, but you may wish to
  322. reboot your system to remove C-LN from memory before compiling a
  323. program.  Although we have taken reasonable efforts to ensure that
  324. C-LN will not interfere with other programs, this safety measure is
  325. wise with ALL resident (TSR) programs.
  326.  
  327. Upon pressing Alt-Left Shift-D, the C-LN window will pop up.  Enter
  328. your the text you wish to center in the first field.  A maximum of
  329. 78 characters may be entered, and the field box will scroll to
  330. accept the full 78 characters.
  331.  
  332. After pressing return, you will be asked for the length of the
  333. field on which to center the text string.  Valid lengths are
  334. between 1 and 80, inclusive.  Any number outside this range will
  335. result in an error message.
  336.  
  337. C-LN will then display the positioning of the string on a numbered
  338. ruler and will mark the starting position of the string.  If a
  339. string is longer than the window can display, C-LN will truncate
  340. the right hand side of the string for display purposes.  The
  341. starting position is, however, the starting position for the full
  342. string.
  343.  
  344. After displaying the centered string, you will have the option to
  345. enter another string.  If you decide not to enter another string,
  346. C-LN will remove its window from the display.  If you enter another
  347. string, or the next time you access C-LN, the last string you
  348. entered will be in the first field.  You may edit this string or
  349.  
  350.  
  351.                                  3
  352.  
  353.  
  354.                     C-LN 1.50  ·  Users Manual
  355.  
  356.  
  357.  
  358. type in a new string.  Pressing the Esc key while in this field
  359. will cause C-LN to display the last string you entered and ask you
  360. how long the field is on which the text should be centered.  (See
  361. Editing Commands, below, for more editing commands.)
  362.  
  363. You will need to reenter the field length each time you center a
  364. string.
  365.  
  366.  
  367. EDITING COMMANDS
  368.  
  369. You may edit the first field, and several editing features have
  370. been built into C-LN to assist you.  In the following descriptions,
  371. whenever Ctrl- appears, you should press the indicated character
  372. while holding down the Ctrl key.  If two letters follow Ctrl-,
  373. press the first character while holding down the Ctrl key, then
  374. press the second character.
  375.  
  376. Ctrl-S    Moves cursor left one character.
  377. Ctrl-D    Moves cursor right one character.
  378. Ctrl-A    Moves cursor left one word (can also use Ctrl-Left
  379.           Arrow).
  380. Ctrl-F    Moves cursor right one word (can also use Ctrl-Right
  381.           Arrow).
  382. Ctrl-Q S  Moves cursor to the beginning of the line (can also use
  383.           the Home key).
  384. Ctrl-Q D  Moves cursor to the end of the line (can also use the End
  385.           key).
  386. Ctrl-G    Deletes character at the cursor (can also use the Del
  387.           key).
  388. Ctrl-H    Deletes character to the left of the cursor (can also use
  389.           the Backspace key).
  390. Ctrl-Q Y  Deletes to the end of the line (can also use Ctrl-End).
  391. Ctrl-Y    Deletes the entire line (can also use Ctrl-X).
  392. Ctrl-Home Deletes from the beginning of the line to the cursor.
  393. Ctrl-T    Deletes word to the right of the cursor.
  394. Ins       Toggles the Insert mode.  A large cursor indicates Insert
  395.           mode is on; a thin cursor indicates overwrite mode is on.
  396. Ctrl-Q L  Restores the original contents of the line and allows you
  397.           to continue editing (can also use Ctrl-R).
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.                                  4
  412.  
  413.  
  414.                     C-LN 1.50  ·  Users Manual
  415.  
  416.  
  417.  
  418. THE BENEFITS OF REGISTRATION
  419.  
  420. Besides the moral satisfaction of doing the right thing, your
  421. registration will encourage the development of more and better
  422. Shareware and newer, more powerful utilities.  We also give some
  423. special bonuses to those who pay the $15.00 registration fee:
  424.  
  425.      You will receive a disk with the latest version of C-LN on it
  426. for your use and free distribution.
  427.      You get a registration number which entitles you to free
  428. telephone support directly from Information Management Systems,
  429. Inc.
  430.      You will be notified of all major upgrades to C-LN as well as
  431. new products and utilities.
  432.      And you will also receive our thanks for your support!
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.                                  5
  472.  
  473.  
  474.                     C-LN 1.50  ·  Users Manual
  475.  
  476.  
  477.  
  478. HOW TO GET HELP
  479.  
  480. If you are a registered user of C-LN, you are entitled to free
  481. telephone support directly from Information Management Systems,
  482. Inc.  Before you call, please obtain the following information to
  483. help us answer your question:
  484.  
  485.      Product name and version number.  (The version number appears
  486. on the diskette label and the screen that appears when C-LN is
  487. first loaded.) 
  488.  
  489.      Your registration number.  (Your registration number will be
  490. on the diskette label.)
  491.  
  492.      Computer brand and model, and the brands and models of any
  493. peripheral devices or other hardware.
  494.  
  495.      Operating system and version number.  (The version number of
  496. PC-DOS or MS-DOS can be obtained by typing VER at the DOS prompt
  497. and pressing the Enter key.)
  498.  
  499.      The telephone number for customer support is (801) 374-9358. 
  500. The customer support line is open from 8:30 am to 5:00 pm Mountain
  501. time.
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.                                  6
  532.